package com.sheet.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created with IntelliJ IDEA .
 * Description
 *
 * @Author IronSheet
 * @Date 2022/3/2 13:50
 */
@FeignClient("nacos-provider")
public interface FeignService {

    @GetMapping("/goods/findOne/{id}")
    String getGoods(@PathVariable("id")int id);

}
